@charset "utf-8";

html{
	width:100%;
	height:100%;
}

body{
	width:100%;
	margin:0 auto;
	display:block;	
	text-align:center;
	background-color:#FFE4A8;
}

h1{
	border:1px solid #F90;
	border-radius:10px;
	background-color:#FFF;
	margin:0 auto;
	position:relative;
	font-size:1.5em;
	display:inline-block;
	padding:0 30px;
	font-style:italic;
	color:#F90;
	animation:colorChange 15s infinite;
}

h2{
	border-bottom: 1px solid #F90;
    border-top: 1px solid #F90;
    margin: 10px 0 20px -20px;
    padding: 10px 0 10px 40px;
    width: 100%;
}

h3{
	text-align:center;
	background-color:#FFF;
	border:1px #999 dashed;
	border-radius:5px;
	width:50%;
	margin:auto;
}

h4{
	padding:5px;
	border:1px #999 dashed;
	border-radius:4px;
	box-shadow:0 0 10px #CCC;
	background-color:#F2F2F2;
	display: inline-block;
    vertical-align: middle;
    width: 90%;
}

h5{
	width:80%;
	border:1px #909 dashed;
	border-radius:4px;
	margin:20px auto 0;
	font-size:16px;
	background-color:#F9D2F9;
}

.blocTitre{
	clear:both;
}

.blocTitre img{
	padding:5px;
	border:1px #999 dashed;
	border-radius:8px;
	box-shadow:0 0 10px #CCC;
	background-color:#F2F2F2;
	float:left;
}

p{
	font-size:20px;	
	text-indent:50px;
}

input[type=text],input[type=email],input[type=password],input[type=date]{
	border-radius:3px;
	margin:2px;
	padding:3px;
	width:200px;
	border:1px dashed #999;
}

input{
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
}

input:focus, input:hover{
	transform:scale(1.05);
	-webkit-transform:scale(1.05);
	-o-transform:scale(1.05);
}

header{
	width:100%;
	height:100px;
	display:block;
	padding-top:20px;
}

header img{
	border:1px solid #F90;
	border-radius:10px;
	background-color:#FFF;
}

#content{
	padding:60px 20px 20px 20px;
	border:1px solid #F90;
	border-radius:10px;
	height:60%;
	min-height:500px;
	width:80%;
	background-color:#FFF;
	margin:-50px auto 0 auto;
	text-align:left;
}

.bloc{
	padding-top:50px;
	width:50%;
	min-width:300px;
	min-height:300px;
	height:100%;
	text-align:center;
	margin:10px auto;
}

.bloc form{
	margin:8% auto;
	width:210px;
}

.leftFloat{
	float:left;
}

.rightFloat{
	float:right;
}

.leftAlign{
	text-align:left;
}

.invisible{
	position:absolute;
	top:-1000px;
}

.inlineBlock{
	display:inline-block;
}

.centered{
	text-align:center;
}

.messageBox{
	position:fixed;
	width:400px;
	margin-left:-200px;
	-webkit-animation: fadeOut 4s ease-in forwards;
    -moz-animation: fadeOut 4s ease-in forwards;
    animation: fadeOut 4s ease-in forwards;
    -o-animation: fadeOut 4s ease-in forwards;
}

.success{
	border:1px dashed #060;
	background-color:#84FF96;
	border-radius:5px;
	display:inline-block;
	padding:3px;
	font-weight:bold;
}

.error{
	border:1px dashed #F00;
	background-color:#FF9B9D;
	border-radius:5px;
	display:inline-block;
	padding:3px;
	font-weight:bold;
}

.info{
	border:1px dashed #009;
	background-color:#6CF;
	border-radius:5px;
	display:inline-block;
	padding:3px;
	font-weight:bold;
}

.inscription{
	background:url(img/back_inscription.png) top center no-repeat;
}

.inscription h3{
	transform:rotate(3deg);
	-webkit-transform:rotate(3deg);
	-o-transform:rotate(3deg);
}

.connexion{
	background:url(img/back_connexion.png) top center no-repeat;
}

.connexion h3{
	transform:rotate(-4deg);
	-webkit-transform:rotate(-4deg);
	-o-transform:rotate(-4deg);
}

.galery{
	display:inline-block;
	width:80%;
}

.adminMenu{
	display:inline-block;
}

.gameMenu{
	border:1px dashed #93F;
	background-color:#E4BED7;
	border-radius:5px;
	width:60%;
	margin:20px auto;
	padding-bottom:10px;
}

.buttonBloc{
	border-radius:5px;
	vertical-align:middle;
	padding:10px;
}

.buttonBloc img{
	vertical-align:middle;
	padding:5px;
	cursor:pointer;
}

.buttonBloc a{
	color:#000;
	text-decoration:none;	
}

.memberSummary{
	display:block;
	padding:10px;
	min-width:220px;
	max-width:21%;
	min-height:125px;
	border-radius:5px;
	margin:5px;
}

.memberSummary a{
	margin:10px;
	cursor:pointer;
}

.accountSummary{
	width:80%;
	border-radius:5px;
	border:1px dashed #666;
	background-color:#EAEAEA;
	display:inline-block;
	padding:2px;
}

.accountSummary .leftFloat{
	padding-top:5px;
	padding-left:10px;
}

.memberInfos{
	height:90px;
}

.gameSession{
	padding:10px;
	border-radius:10px;
}

.gameSession img{
	cursor:pointer;
}

.resultBloc{
	width:80%;
	display:inline-block;
	border-radius:10px;
	padding:10px;
}

.resultLine{
	width:100%;
}

.resultMoodInfos{
	width:100%;
	border-top:1px dashed #999;
	border-bottom:1px dashed #999;
	margin:10px auto;
}

.resultInfos{
	vertical-align:middle;
	display:inline-block;
	width:50%;
}

.pieChart{
	display:inline-block;
	vertical-align:middle;
}

.male{
	border:1px dashed #00F;
	background-color:#97BFFB;
}

.female{
	border:1px dashed #F39;
	background-color:#FCF;
}

.new{
	border:1px dashed #090;
	background-color:#B9FFAE;
	margin:auto;
}

.edited{
	border:1px dashed #FC6;
	background-color:#FF9;
}

.red{
	border:1px dashed #C00;
	background-color:#FF8A8D;
	margin:5px;
}

.green{
	border:1px dashed #090;
	background-color:#9BFF8C;
	margin:5px;
}

.blue{
	border:1px dashed #00F;
	background-color:#A8E0FF;
	margin:5px;
}

.grey{
	border:1px dashed #666;
	background-color:#EAEAEA;
	margin:20px;
}

#page{
	display:inline-block;
	height:200px;
	width:50%;
	border-radius:10px;
	border:1px dashed #999;
	background-color:#FAFAFA;
	padding:10px;
	min-width:600px;
}

#newShape{
	height:50px;
}

.arrowsDiv{
	margin:auto;
    text-align: center;
    width: 100%;
}

.arrowsDiv img{
	padding:0 15%;
}

#adminPage{
	width:40%;
	margin:auto;
}

#left{
	float:left;
}

#right{
	float:right;
}

/* Admin : Color forms */

.newColorBloc{
	margin:auto;
	padding:5px;
	border:1px dashed #AAA;
	border-radius:10px;
	background-color:#E6E6E6;
	width:240px;
}

.existingColorBloc{
	float:left;
	border:1px dashed #AAA;
	border-radius:10px;
	background-color:#E6E6E6;
	padding:5px;
	margin:5px;
}

.existingColorBloc canvas{
	width:50px;
	height:50px;
}

.colorQuantity{
	width:30px;
	display:inline-block;
}

#elementList{
	display:inline-block;
	margin:20px auto;
}


.colorQuantity.red {
    width: 30px;
}

.colorQuantity.green {
    width: 30px;
}

.colorQuantity.blue {
    width: 30px;
}

.disactivated{
	opacity: 0.5;
}

/* Animations */

@keyframes colorChange
{
	0%   {color: red;}
	25%  {color: yellow;}
	50%  {color: blue;}
	75%  {color: green;}
	100% {color: red;}
}

@-moz-keyframes colorChange /* Firefox */
{
	0%   {color: red;}
	25%  {color: yellow;}
	50%  {color: blue;}
	75%  {color: green;}
	100% {color: red;}
}

@-webkit-keyframes colorChange /* Safari and Chrome */
{
	0%   {color: red;}
	25%  {color: yellow;}
	50%  {color: blue;}
	75%  {color: green;}
	100% {color: red;}
}

@-o-keyframes colorChange /* Opera */
{
	0%   {color: red;}
	25%  {color: yellow;}
	50%  {color: blue;}
	75%  {color: green;}
	100% {color: red;}
}

@keyframes fadeOut
{
	0%   {opacity: 0;display:none;}
	10%  {opacity: 1;display:inline-block;}
	80%  {opacity: 1;display:inline-block;}
	100% {opacity: 0;display:none;}
}

@-moz-keyframes fadeOut /* Firefox */
{
	0%   {opacity: 0;display:none;}
	10%  {opacity: 1;display:inline-block;}
	80%  {opacity: 1;display:inline-block;}
	100% {opacity: 0;display:none;}
}

@-webkit-keyframes fadeOut /* Safari and Chrome */
{
	0%   {opacity: 0;display:none;}
	10%  {opacity: 1;display:inline-block;}
	80%  {opacity: 1;display:inline-block;}
	100% {opacity: 0;display:none;}
}

@-o-keyframes fadeOut /* Opera */
{
	0%   {opacity: 0;display:none;}
	10%  {opacity: 1;display:inline-block;}
	80%  {opacity: 1;display:inline-block;}
	100% {opacity: 0;display:none;}
}